package com.foreknow.entity;

import java.io.Serializable;

public class Drugsdetailed implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 成药模板ID
     *
     * @mbggenerated
     */
    private Integer drugstempid;

    /**
     * 药品ID
     *
     * @mbggenerated
     */
    private Integer drugsid;

    /**
     * 用法
     *
     * @mbggenerated
     */
    private String drugsusage;

    /**
     * 用量
     *
     * @mbggenerated
     */
    private String dosage;

    /**
     * 频次
     *
     * @mbggenerated
     */
    private String frequency;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDrugstempid() {
        return drugstempid;
    }

    public void setDrugstempid(Integer drugstempid) {
        this.drugstempid = drugstempid;
    }

    public Integer getDrugsid() {
        return drugsid;
    }

    public void setDrugsid(Integer drugsid) {
        this.drugsid = drugsid;
    }

    public String getDrugsusage() {
        return drugsusage;
    }

    public void setDrugsusage(String drugsusage) {
        this.drugsusage = drugsusage;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", drugstempid=").append(drugstempid);
        sb.append(", drugsid=").append(drugsid);
        sb.append(", drugsusage=").append(drugsusage);
        sb.append(", dosage=").append(dosage);
        sb.append(", frequency=").append(frequency);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}